package com.space.domain.core.entity;


import com.space.components.domain.core.Identifier;

/**
 * @author <a href="mailto:414563035@qq.com">Bedroom</a>
 * @date 2021/5/29 6:50 下午
 */
public class UserId implements Identifier<Integer> {
    private Integer userId;
    public UserId() {}

    public UserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    public Integer getId() {
        return userId;
    }
}
